package com.zhang.common.batch;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;

/**
 * 启动预加载服务
 *
 * @author zhangxin
 * @date 2020-12-14 12:36:00
 */
public class BatchCommandLineRunner implements CommandLineRunner {
    private static final Logger logger = LoggerFactory.getLogger(BatchCommandLineRunner.class);
    @Override
    public void run(String... strings) throws Exception {
        logger.info("服务启动执行，执行加载数据等操作, args:{}", strings);

    }
}
